package com.example.suyuan.service.impl;

import com.example.suyuan.dto.LoginRequest;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    public boolean authenticate(String username, String password) {
        // Here you would typically check the credentials against a database
        // For now, let's assume a simple in-memory check
        return "admin".equals(username) && "password".equals(password);
    }
}